package xyz.bali16.module.sensitiveword.model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@Data
@ApiModel("添加敏感词参数")
public class SensitiveWordAddParam {

    @ApiModelProperty(name = "word", value = "敏感词名字", required = true)
    @NotNull(message = "敏感词不能为空")
    private String word;


}
